﻿namespace Infrastructure;

/// <summary>
/// 业务异常类
/// </summary>
public class BusinessExecptions : Exception
{

    public int Code { get; set; }
    public BusinessExecptions(string? message, int code = 400) : base(message)
    {
        Code = code;
    }

}
